package com.combat.text.user.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface equipmentMapper {
    @Select("SELECT num from equipment  gro")
    List<Integer> eatershow();

    @Select("SELECT eid from equipment GROUP BY eid ")
    int[] findeid();

    @Select("SELECT ENAME from equipment where eid = #{id}  GROUP BY ENAME ")
    String findename(int id);

    @Select("SELECT num from equipment where eid = #{id} ")
    List<Integer> findnum(int id);
}
